
import React, { Component } from 'react'
import Son from './Son';
import Son2WithRouter from "./Son2"

export default class index extends Component {
  render() {
    return (
      <div>
        <h1>高阶组件</h1>
        <Son age={12}></Son>
        <Son2WithRouter age={12} ></Son2WithRouter>
      </div>
    )
  }
}
